home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / EMU10K1.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  3.4 KB  |  245 lines

  1. #
  2. # Configuration for the EMU10K1 chip
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. EMU10K1.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. <confdir:pcm/rear.conf>
  18.  
  19. EMU10K1.pcm.rear.0 {
  20.     @args [ CARD ]
  21.     @args.CARD {
  22.         type string
  23.     }
  24.     type hooks
  25.     slave.pcm {
  26.         type hw
  27.         card $CARD
  28.         device 0
  29.     }
  30.     hooks.0 {
  31.         type ctl_elems
  32.         hook_args [
  33.             {
  34.                 name "Wave Surround Playback Volume"
  35.                 preserve true
  36.                 lock true
  37.                 value [ 0 0 ]
  38.             }
  39.             {
  40.                 name "EMU10K1 PCM Send Volume"
  41.                 index { @func private_pcm_subdevice }
  42.                 lock true
  43.                 value [ 0 0 0 0 0 0 255 0 0 0 0 255 ]
  44.             }
  45.         ]
  46.     }
  47. }    
  48.  
  49. <confdir:pcm/center_lfe.conf>
  50.  
  51. EMU10K1.pcm.center_lfe.0 {
  52.     @args [ CARD ]
  53.     @args.CARD {
  54.         type string
  55.     }
  56.     type hooks
  57.     slave.pcm {
  58.         type hw
  59.         card $CARD
  60.         device 0
  61.     }
  62.     hooks.0 {
  63.         type ctl_elems
  64.         hook_args [
  65.             {
  66.                 name "Wave Center Playback Volume"
  67.                 preserve true
  68.                 lock true
  69.                 value 0
  70.             }
  71.             {
  72.                 name "Wave LFE Playback Volume"
  73.                 preserve true
  74.                 lock true
  75.                 value 0
  76.             }
  77.             {
  78.                 name "Headphone Center Playback Switch"
  79.                 index 1
  80.                 preserve true
  81.                 lock true
  82.                 value true
  83.             }
  84.             {
  85.                 name "Headphone LFE Playback Switch"
  86.                 index 1
  87.                 preserve true
  88.                 lock true
  89.                 value true
  90.             }
  91.             {
  92.                 name "SB Live Analog/Digital Output Jack"
  93.                 preserve true
  94.                 lock true
  95.                 value 0
  96.             }
  97.             {
  98.                 name "EMU10K1 PCM Send Volume"
  99.                 index { @func private_pcm_subdevice }
  100.                 lock true
  101.                 value [ 0 0 0 0 255 0 0 0 0 255 0 0 ]
  102.             }
  103.             {
  104.                 name "EMU10K1 PCM Send Routing"
  105.                 index { @func private_pcm_subdevice }
  106.                 lock true
  107.                 value [ 0 1 2 3 6 7 0 1 6 7 0 1 ]
  108.             }
  109.         ]
  110.     }
  111. }    
  112.  
  113. <confdir:pcm/surround40.conf>
  114.  
  115. EMU10K1.pcm.surround40.0 {
  116.     @args [ CARD ]
  117.     @args.CARD {
  118.         type string
  119.     }
  120.     type multi
  121.     slaves [
  122.         {
  123.             pcm {
  124.                 @func concat
  125.                 strings [
  126.                     "cards.EMU10K1.pcm.front.0:CARD=" $CARD
  127.                 ]
  128.             }
  129.             channels 2
  130.         }
  131.         {
  132.             pcm {
  133.                 @func concat
  134.                 strings [
  135.                     "cards.EMU10K1.pcm.rear.0:CARD=" $CARD
  136.                 ]
  137.             }
  138.             channels 2
  139.         }
  140.     ]
  141.     bindings [
  142.         { slave 0 channel 0 }
  143.         { slave 0 channel 1 }
  144.         { slave 1 channel 0 }
  145.         { slave 1 channel 1 }
  146.     ]
  147. }
  148.  
  149. <confdir:pcm/surround51.conf>
  150.  
  151. EMU10K1.pcm.surround51.0 {
  152.     @args [ CARD ]
  153.     @args.CARD {
  154.         type string
  155.     }
  156.     type multi
  157.     slaves [
  158.         {
  159.             pcm {
  160.                 @func concat
  161.                 strings [
  162.                     "cards.EMU10K1.pcm.front.0:CARD=" $CARD
  163.                 ]
  164.             }
  165.             channels 2
  166.         }
  167.         {
  168.             pcm {
  169.                 @func concat
  170.                 strings [
  171.                     "cards.EMU10K1.pcm.rear.0:CARD=" $CARD
  172.                 ]
  173.             }
  174.             channels 2
  175.         }
  176.         {
  177.             pcm {
  178.                 @func concat
  179.                 strings [
  180.                     "cards.EMU10K1.pcm.center_lfe.0:CARD=" $CARD
  181.                 ]
  182.             }
  183.             channels 2
  184.         }
  185.     ]
  186.     bindings [
  187.         { slave 0 channel 0 }
  188.         { slave 0 channel 1 }
  189.         { slave 1 channel 0 }
  190.         { slave 1 channel 1 }
  191.         { slave 2 channel 0 }
  192.         { slave 2 channel 1 }
  193.     ]
  194. }
  195.  
  196. <confdir:pcm/iec958.conf>
  197.  
  198. EMU10K1.pcm.iec958.0 {
  199.     @args [ CARD AES0 AES1 AES2 AES3 ]
  200.     @args.CARD {
  201.         type string
  202.     }
  203.     @args.AES0 {
  204.         type integer
  205.     }
  206.     @args.AES1 {
  207.         type integer
  208.     }
  209.     @args.AES2 {
  210.         type integer
  211.     }
  212.     @args.AES3 {
  213.         type integer
  214.     }
  215.     type hooks
  216.     slave.pcm {
  217.         type hw
  218.         card $CARD
  219.         device 3
  220.     }
  221.     hooks.0 {
  222.         type ctl_elems
  223.         hook_args [
  224.             {
  225.                 name "IEC958 Playback Default"
  226.                 lock true
  227.                 preserve true
  228.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  229.             }
  230.             {
  231.                 name "IEC958 Optical Raw Playback Switch"
  232.                 lock true
  233.                 preserve true
  234.                 value [ 1 1 ]
  235.             }
  236.             {
  237.                 name "SB Live Analog/Digital Output Jack"
  238.                 lock true
  239.                 preserve true
  240.                 value 1
  241.             }
  242.         ]
  243.     }
  244. }
  245.